export const tools = [
  {
    type: 'drag',
    icon: 'el-icon-rank',
    name: '拖拽'
  },
  {
    type: 'connection',
    icon: 'el-icon-share',
    name: '连线'
  },
  {
    type: 'zoom-in',
    icon: 'el-icon-zoom-in',
    name: '放大'
  },
  {
    type: 'zoom-out',
    icon: 'el-icon-zoom-out',
    name: '缩小'
  }
]

export const commonNodes = [
  {
    type: 'start',
    nodeName: '开始',
    icon: 'StartIcon'
  },
  {
    type: 'end',
    nodeName: '结束',
    icon: 'EndIcon'
  },
  {
    type: 'task',
    nodeName: '任务节点',
    icon: ''
  },
  {
    type: 'checkinStart', 
    nodeName: '签到开始',
    icon: ''
  },
  {
    type: 'checkinEnd',
    nodeName: '签到结束',
    icon: ''
  },
  // {
  //   type: 'common',
  //   nodeName: '人工节点',
  //   icon: 'CommonIcon'
  // },
  // {
  //   type: 'freedom',
  //   nodeName: '自动节点',
  //   icon: 'FreedomIcon'
  // },
  // {
  //   type: 'gateway',
  //   nodeName: '网关',
  //   icon: 'GatewayIcon'
  // },
  // {
  //   type: 'event',
  //   nodeName: '事件节点',
  //   icon: 'EventIcon'
  // }
]

export const highNodes = [
  {
    type: 'child-flow',
    nodeName: '子流程',
    icon: 'ChildFlowIcon'
  }
]

export const laneNodes = [
  {
    type: 'x-lane',
    nodeName: '横向泳道',
    icon: 'XLaneIcon'
  },
  {
    type: 'y-lane',
    nodeName: '纵向泳道',
    icon: 'YLaneIcon'
  }
]
